><

Random Image



The Random Image action swaps the contents of an image placeholder in a random sequence, based on an external trigger such as a mouse-click or a page loading. You can specify a maximum of three alternative images for the base image.

To set up a Random Image action for a normal image:

1 In Layout mode, insert an image placeholder.

2 In the Basic tab of the Image Inspector, link to an image using the Browse button or the Point and Shoot button ().

3 In the More tab of the Image Inspector, enter a unique name in the Name text box.

Important: Image actions require images of equal size to avoid problems with scaling. The Random Image action requires that the base image be named. Naming the base image ensures that it appears in the Base Image pop-up menu in the Actions palette.

4 In the Link tab of the Image Inspector, click the New Link button.

You must create a link for the Random Image action to work with a normal image. However, you don't need to specify a target for this link.

5 In the Actions palette, select a mouse or key event and click the + button.

6 Choose the Random Image option from the Image submenu of the Action menu.

7 In the Base Image pop-up menu, select the base image you want to have swapped in a random sequence.

8 Enter URLs for the alternate images in the Image 1, Image 2, and Image 3 text boxes.

9 Preview the action in a 4.0 browser.


Using Actions > Using Adobe GoLive actions > Random Image